package prototype;

public class PrototypeBean {
    private String _string;

    private Integer _int;

    private Double _double;

    public PrototypeBean() {
    }

    public PrototypeBean(String _string, Integer _int, Double _double) {
        this._string = _string;
        this._int = _int;
        this._double = _double;
    }

    public String get_string() {
        return _string;
    }

    public void set_string(String _string) {
        this._string = _string;
    }

    public Integer get_int() {
        return _int;
    }

    public void set_int(Integer _int) {
        this._int = _int;
    }

    public Double get_double() {
        return _double;
    }

    public void set_double(Double _double) {
        this._double = _double;
    }

    public String string() {
        return "PrototypeBean{" +
                "_string='" + _string + '\'' +
                ", _int=" + _int +
                ", _double=" + _double +
                '}';
    }

    @Override
    public PrototypeBean clone() {
        return new PrototypeBean(_string, _int, _double);
    }
}
